.container {
  padding: 0;

  .banner {
    width: 100%;
    height: 400rpx;

    image {
      width: 100%;
      height: 100%;
    }
  }

  .category-nav {
    width: 100%;
    padding: 30rpx 20rpx;
    background: #fff;
    margin: 20rpx;
    border-radius: 12rpx;
    box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);

    .category-grid {
      display: flex;
      justify-content: space-between;

      .category-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20rpx;
        margin: 0 10rpx;
        background: #f8f8f8;
        border-radius: 8rpx;

        .category-icon {
          width: 120rpx;
          height: 80rpx;
          margin-bottom: 16rpx;
        }

        text {
          font-size: 28rpx;
          color: #333;
          font-weight: 500;
        }

        &:active {
          background: #f0f0f0;
        }
      }
    }
  }
  .news-list {
    padding: 20rpx;

    .section-title {
      font-size: 32rpx;
      font-weight: bold;
      margin: 20rpx 0;
    }

    .news-item {
      display: flex;
      padding: 20rpx 0;
      border-bottom: 1rpx solid #eee;

      .news-image {
        width: 200rpx;
        height: 150rpx;
        margin-right: 20rpx;
        border-radius: 8rpx;
      }

      .news-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        .news-title {
          font-size: 28rpx;
          font-weight: bold;
        }

        .news-desc {
          font-size: 24rpx;
          color: #666;
          margin: 10rpx 0;
        }

        .news-meta {
          display: flex;
          justify-content: space-between;
          font-size: 24rpx;
          color: #999;
        }
      }
    }
  }
}
.news-tags {
  margin-top: 10rpx;
  display: flex;
  flex-wrap: wrap;
  gap: 10rpx;

  .tag {
    font-size: 20rpx;
    color: #666;
    background-color: #f5f5f5;
    padding: 4rpx 12rpx;
    border-radius: 20rpx;
  }
}
